package it.unibo.mycruise.simulation;
import it.unibo.convoycruisecontrol.boatsubsystem.AbstractStatusBoat;
import it.unibo.mycruise.boat.BoatFactory;
import it.unibo.mycruise.boat.StatusBoat;

/**
 * @author ale
 * @version 1.0
 * @created 24-ott-2012 00:48:19
 */
public class SimulatorBoatFactory extends BoatFactory {

	/**
	 * Usa il metodo corrispondente di super (super.createStatusBoat()) per creare uno
	 * StatusBoat "vero" che poi inietta in quello simulato.
	 */
	@Override
	protected AbstractStatusBoat createStatusBoat(int seqNum)
	{
		return new SimulatorStatusBoat((StatusBoat) super.createStatusBoat(seqNum));
	}

}